diff -Naur newsbeuter-2.5.orig/src/controller.cpp newsbeuter-2.5/src/controller.cpp
--- newsbeuter-2.5.orig/src/controller.cpp	2012-01-06 06:41:13.000000000 -0800
+++ newsbeuter-2.5/src/controller.cpp	2012-04-15 00:21:24.642248190 -0700
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <config.h>
 #include <view.h>
 #include <controller.h>
diff -Naur newsbeuter-2.5.orig/src/google_api.cpp newsbeuter-2.5/src/google_api.cpp
--- newsbeuter-2.5.orig/src/google_api.cpp	2012-01-06 06:41:13.000000000 -0800
+++ newsbeuter-2.5/src/google_api.cpp	2012-04-15 00:21:43.357248631 -0700
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <vector>
 #include <cstring>
 #include <iostream>
diff -Naur newsbeuter-2.5.orig/src/pb_controller.cpp newsbeuter-2.5/src/pb_controller.cpp
--- newsbeuter-2.5.orig/src/pb_controller.cpp	2012-01-06 06:41:13.000000000 -0800
+++ newsbeuter-2.5/src/pb_controller.cpp	2012-04-15 00:22:24.230249617 -0700
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <pb_controller.h>
 #include <pb_view.h>
 #include <poddlthread.h>
diff -Naur newsbeuter-2.5.orig/src/queueloader.cpp newsbeuter-2.5/src/queueloader.cpp
--- newsbeuter-2.5.orig/src/queueloader.cpp	2012-01-06 06:41:13.000000000 -0800
+++ newsbeuter-2.5/src/queueloader.cpp	2012-04-15 00:30:41.627260915 -0700
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <stflpp.h>
 #include <utils.h>
 #include <queueloader.h>
diff -Naur newsbeuter-2.5.orig/src/reloadthread.cpp newsbeuter-2.5/src/reloadthread.cpp
--- newsbeuter-2.5.orig/src/reloadthread.cpp	2012-01-06 06:41:13.000000000 -0800
+++ newsbeuter-2.5/src/reloadthread.cpp	2012-04-15 00:21:18.934248123 -0700
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <reloadthread.h>
 #include <logger.h>
 
diff -Naur newsbeuter-2.5.orig/src/utils.cpp newsbeuter-2.5/src/utils.cpp
--- newsbeuter-2.5.orig/src/utils.cpp	2012-01-06 06:41:13.000000000 -0800
+++ newsbeuter-2.5/src/utils.cpp	2012-04-15 00:20:23.038246866 -0700
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <utils.h>
 #include <logger.h>
 #include <config.h>
